diff --git a/tools/lirc-setup/mvc_control.py b/tools/lirc-setup/mvc_control.py
index 9d0548a..16395f6 100644
--- a/tools/lirc-setup/mvc_control.py
+++ b/tools/lirc-setup/mvc_control.py
@@ -1,5 +1,8 @@
 ''' Simple lirc setup tool - control part. '''
 
+import gi
+gi.require_version('Gtk', '3.0')
+
 from gi.repository import Gtk         # pylint: disable=no-name-in-module
 
 import os
